package com.iwhalecloud.bss.kite.cucc.order.event;

import com.iwhalecloud.bss.kite.event.BaseEvent;
import com.iwhalecloud.bss.kite.order.client.dto.OrderRequest;

/**
 * <Description> 订单提交后埋点 <br>
 *
 * @author zeng.weitang<br>
 * @version 1.0<br>
 * @taskId <br>
 * @date 2020-02-19 <br>
 * @since R9.0<br>
 * @see com.iwhalecloud.bss.kite.event.order <br>
 */
public class AfterOrderCommitEvent extends BaseEvent {

    private static final long serialVersionUID = 1L;

    public static final String EVENT_CODE = "AfterOrderCommitEvent";

    private OrderRequest orderRequest;

    public AfterOrderCommitEvent(Object source, OrderRequest request) {
        super(source, EVENT_CODE, request.getCustId(), request.getStaffId());
        this.orderRequest = request;
    }

    public OrderRequest getOrderRequest() {
        return orderRequest;
    }

}
